package com.android.love.parser;

import com.alibaba.fastjson.JSON;
import com.android.love.util.LogUtil;

public class PayNumParser extends BaseParser<Integer> {
	private static final String TAG = "AddressParser";

	@Override
	public Integer parserJson(String jsonStr) {
		int  count = 0;
		LogUtil.i(TAG, "data11---" + jsonStr);
		if (checkResponse(jsonStr)) {
			String data = jsonObject.getString("data");
			LogUtil.i(TAG, "data---" + data);
			if (data != null) {
				jsonObject = JSON.parseObject(data);
				count =jsonObject.getInteger("count");
			}
		}
		LogUtil.i(TAG, "address_id---" + count);
		return count;
	}
}
